<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <#include "/comm/module-edit.ftl"/>
</head>

<body>
<div class="layui-div-body">
    <#--    <div class="x-nav">-->
    <#--          <span class="layui-breadcrumb">-->
    <#--            <a href="">首页</a>-->
    <#--            <a href="">基础管理</a>-->
    <#--            <a>-->
    <#--              <cite>属性配置</cite></a>-->
    <#--          </span>-->
    <#--    </div>-->
    <div class="layui-fluid layui-div-edit">
        <form class="layui-form layui-form-pane">
            <div class="layui-form-item">
                <label class="layui-form-label">编码</label>
                <div class="layui-input-inline">
                    <input type="text" name="paCode" lay-verify="required"
                           placeholder="请输入编码" class="layui-input" lay-reqtext="请填写编码">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="paName" lay-verify="required"
                           placeholder="请输入名称" class="layui-input" lay-reqtext="请填写名称">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">类型</label>
                <div class="layui-input-inline">
                    <input type="text" name="paType" lay-verify="required"
                           placeholder="请输入类型" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">数值</label>
                <div class="layui-input-inline">
                    <input type="text" name="paValue" lay-verify="required"
                           placeholder="请输入数值" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                    <textarea name="paRemark" placeholder="请输入内容" class="layui-textarea">${info.paRemark}</textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn" lay-submit="" lay-filter="save">立即提交
                </button>
                <#if info._id ==''>
                    <button type="reset" class="layui-btn layui-btn-primary" id="btn-reset">重置</button>
                </#if>
                <input type="hidden" id="_id" name="_id" value="${info._id}"/>
            </div>
        </form>
    </div>
</div>
<script>
    layui.use("edit", function () {
        let edit = layui.edit;
        edit.render()
    });
</script>
</body>

</html>